
package nl.twleaks.alice.services;

import java.io.IOException;

import com.google.appengine.api.urlfetch.HTTPHeader;
import com.google.appengine.api.urlfetch.HTTPRequest;
import com.google.appengine.api.urlfetch.HTTPResponse;
import com.google.appengine.api.urlfetch.URLFetchServiceFactory;

public class RequestService {
	public static HTTPResponse request(HTTPRequest request) throws IOException{
		request.addHeader(new HTTPHeader("User-Agent", "Opera/9.80 (Windows NT 6.0; U; en) Presto/2.8.131 Version/11.11"));
		return URLFetchServiceFactory.getURLFetchService().fetch(request);
	}
}
